{% extends "admin/base.html" %}
{% block content %}
<div class="wrap">
 <h2>媒体库</h2>
 <form id="file-form" action="/admin/upload_media" method="post" enctype="multipart/form-data">

<div id="html-upload-ui">
	<p id="async-upload-wrap">
	<input type="file" id="file" name="file"> 
		<input type="submit" value="上传" name="html-upload" class="button"> 
	</p>
	<p>
	 <a href="/admin/backup_db">备份数据库</a>
	</p>
	<br class="clear">
	</div>
	</form>
</div>
{%endblock%}